package com.jadesoft.stock.entity;

import java.util.Date;

public class WeatherInfo {
	private Long id;
	
	private String cityCode;
	
	private String cityName;
	
	private String content;
	
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public void addContent(String content) {
		this.content += content;
	}


	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public WeatherInfo() {
		super();
	}

	public WeatherInfo(String cityCode) {
		super();
		this.cityCode = cityCode;
	}


	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public WeatherInfo(String cityCode, String cityName, String content,
			Date updateTime) {
		super();
		this.cityCode = cityCode;
		this.cityName = cityName;
		this.content = content;
		this.updateTime = updateTime;
	}

	public WeatherInfo(String cityCode, String cityName, Date updateTime) {
		super();
		this.cityCode = cityCode;
		this.cityName = cityName;
		this.updateTime = updateTime;
	}

	public WeatherInfo(String cityCode, String cityName) {
		super();
		this.cityCode = cityCode;
		this.cityName = cityName;
	}
	
}
